<template>
  <div>
    <el-tabs v-model="activeTab" >
<!--      默认选中-->
      <el-tab-pane label="驾驶舱" index="/about" name="/about">
        <Dashboard></Dashboard>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import Dashboard from "@/components/cockpit/Dashboard.vue";

export default {
  name: 'App',
  components: {Dashboard},
  data() {
    return {
      activeTab: "/about",
    }
  }
}
</script>

<style>
.el-tabs__item.is-active{
  font-size: 25px;
}
</style>
